Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 27, 2007, 11:30:17 PM (17 years ago)
Author:
nicolasc
Message:

cleaned up network, builds with CML

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/merger/src/network/Makefile

    r278 r285  
    1 CC=g++
    2 MAIN_INC=..
    3 INC=-I ${MAIN_INC}
    4 
    5 all: server client
    6 
    7 # Link command:
    8 server: PacketBuffer.o ConnectionManager.o dummyserver.o PacketDecoder.o PacketGenerator.o
    9         ${CC} PacketDecoder.o PacketGenerator.o ConnectionManager.o dummyserver.o PacketBuffer.o -o server -lenet -lboost_thread -g
    10 
    11 dummyserver.o: dummyserver.cc
    12         ${CC} -c dummyserver.cc -o dummyserver.o -g ${INC}
    13 # Compilation commands:
    14 ConnectionManager.o: ConnectionManager.cc ConnectionManager.h
    15         ${CC} -c ConnectionManager.cc -o ConnectionManager.o -g ${INC}
    16 ClientConnection.o: ClientConnection.cc ClientConnection.h
    17         ${CC} -c ClientConnection.cc -o ClientConnection.o -g ${INC}
    18 
    19 PacketBuffer.o: PacketBuffer.cc
    20         ${CC} -c PacketBuffer.cc -o PacketBuffer.o -g ${INC}
    21 PacketGenerator.o: PacketGenerator.cc
    22         ${CC} -c PacketGenerator.cc -o PacketGenerator.o -g ${INC}
    23 PacketDecoder.o: PacketDecoder.cc
    24         ${CC} -c PacketDecoder.cc -o PacketDecoder.o -g ${INC}
    25 Client.o: Client.cc
    26         ${CC} -c Client.cc -g ${INC}
    27 Server.o: Server.cc
    28         ${CC} -c Server.cc -g ${INC}
    29 Synchronisable.o: Synchronisable.cc
    30         ${CC} -c Synchronisable.cc -g ${INC}
    31 GameStateManager.o: GameStateManager.cc
    32         ${CC} -c GameStateManager.cc -g ${INC}
    33 
     1# CMAKE generated file: DO NOT EDIT!
     2# Generated by "Unix Makefiles" Generator, CMake Version 2.4
     3
     4# Default target executed when no arguments are given to make.
     5default_target: all
     6
     7#=============================================================================
     8# Special targets provided by cmake.
     9
     10# Disable implicit rules so canoncical targets will work.
     11.SUFFIXES:
     12
     13.SUFFIXES: .hpux_make_needs_suffix_list
     14
     15# Produce verbose output by default.
     16VERBOSE = 1
     17
     18# Suppress display of executed commands.
     19$(VERBOSE).SILENT:
     20
     21# A target that is always out of date.
     22cmake_force:
     23
     24#=============================================================================
     25# Set environment variables for the build.
     26
     27# The shell in which to execute make rules.
     28SHELL = /bin/sh
     29
     30# The CMake executable.
     31CMAKE_COMMAND = /usr/bin/cmake
     32
     33# The command to remove a file.
     34RM = /usr/bin/cmake -E remove -f
     35
     36# The program to use to edit the cache.
     37CMAKE_EDIT_COMMAND = /usr/bin/ccmake
     38
     39# The top-level source directory on which CMake was run.
     40CMAKE_SOURCE_DIR = /home/nicolasc/development/orxonoxV2/branches/merger
     41
     42# The top-level build directory on which CMake was run.
     43CMAKE_BINARY_DIR = /home/nicolasc/development/orxonoxV2/branches/merger
     44
     45# Include the progress variables for this target.
     46include CMakeFiles/progress.make
     47
     48#=============================================================================
     49# Targets provided globally by CMake.
     50
     51# Special rule for the target edit_cache
     52edit_cache:
     53        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
     54        cd /home/nicolasc/development/orxonoxV2/branches/merger/src/network && /usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
     55
     56# Special rule for the target edit_cache
     57edit_cache/fast: edit_cache
     58
     59# Special rule for the target rebuild_cache
     60rebuild_cache:
     61        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
     62        cd /home/nicolasc/development/orxonoxV2/branches/merger/src/network && /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
     63
     64# Special rule for the target rebuild_cache
     65rebuild_cache/fast: rebuild_cache
     66
     67# The main all target
     68all: cmake_check_build_system
     69        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(CMAKE_COMMAND) -E cmake_progress_start /home/nicolasc/development/orxonoxV2/branches/merger/CMakeFiles $(CMAKE_ALL_PROGRESS)
     70        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f CMakeFiles/Makefile2 src/network/all
     71        $(CMAKE_COMMAND) -E cmake_progress_start /home/nicolasc/development/orxonoxV2/branches/merger/CMakeFiles 0
     72
     73# The main clean target
    3474clean:
    35         rm -rf *.o
    36 
    37 client_old: PacketGenerator.o dummyclient.cc
    38         ${CC} dummyclient.cc PacketGenerator.o -o client -lenet -g ${INC}
    39 client: PacketGenerator.o ClientConnection.o PacketBuffer.o dummyclient2.cc
    40         ${CC} dummyclient2.cc PacketGenerator.o PacketBuffer.o ClientConnection.o -o client -lenet -lboost_thread -g ${INC}
     75        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f CMakeFiles/Makefile2 src/network/clean
     76
     77# The main clean target
     78clean/fast: clean
     79
     80# Prepare targets for installation.
     81preinstall: all
     82        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f CMakeFiles/Makefile2 src/network/preinstall
     83
     84# Prepare targets for installation.
     85preinstall/fast:
     86        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f CMakeFiles/Makefile2 src/network/preinstall
     87
     88# clear depends
     89depend:
     90        $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
     91
     92# Convenience name for target.
     93src/network/CMakeFiles/network.dir/rule:
     94        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f CMakeFiles/Makefile2 src/network/CMakeFiles/network.dir/rule
     95
     96# Convenience name for target.
     97network: src/network/CMakeFiles/network.dir/rule
     98
     99# fast build rule for target.
     100network/fast:
     101        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/build
     102
     103# target to build an object file
     104Client.o:
     105        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/Client.o
     106
     107# target to preprocess a source file
     108Client.i:
     109        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/Client.i
     110
     111# target to generate assembly for a file
     112Client.s:
     113        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/Client.s
     114
     115# target to build an object file
     116ClientConnection.o:
     117        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/ClientConnection.o
     118
     119# target to preprocess a source file
     120ClientConnection.i:
     121        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/ClientConnection.i
     122
     123# target to generate assembly for a file
     124ClientConnection.s:
     125        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/ClientConnection.s
     126
     127# target to build an object file
     128ConnectionManager.o:
     129        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/ConnectionManager.o
     130
     131# target to preprocess a source file
     132ConnectionManager.i:
     133        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/ConnectionManager.i
     134
     135# target to generate assembly for a file
     136ConnectionManager.s:
     137        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/ConnectionManager.s
     138
     139# target to build an object file
     140GameStateManager.o:
     141        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/GameStateManager.o
     142
     143# target to preprocess a source file
     144GameStateManager.i:
     145        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/GameStateManager.i
     146
     147# target to generate assembly for a file
     148GameStateManager.s:
     149        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/GameStateManager.s
     150
     151# target to build an object file
     152PacketBuffer.o:
     153        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/PacketBuffer.o
     154
     155# target to preprocess a source file
     156PacketBuffer.i:
     157        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/PacketBuffer.i
     158
     159# target to generate assembly for a file
     160PacketBuffer.s:
     161        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/PacketBuffer.s
     162
     163# target to build an object file
     164PacketDecoder.o:
     165        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/PacketDecoder.o
     166
     167# target to preprocess a source file
     168PacketDecoder.i:
     169        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/PacketDecoder.i
     170
     171# target to generate assembly for a file
     172PacketDecoder.s:
     173        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/PacketDecoder.s
     174
     175# target to build an object file
     176PacketGenerator.o:
     177        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/PacketGenerator.o
     178
     179# target to preprocess a source file
     180PacketGenerator.i:
     181        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/PacketGenerator.i
     182
     183# target to generate assembly for a file
     184PacketGenerator.s:
     185        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/PacketGenerator.s
     186
     187# target to build an object file
     188Server.o:
     189        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/Server.o
     190
     191# target to preprocess a source file
     192Server.i:
     193        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/Server.i
     194
     195# target to generate assembly for a file
     196Server.s:
     197        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/Server.s
     198
     199# target to build an object file
     200Synchronisable.o:
     201        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/Synchronisable.o
     202
     203# target to preprocess a source file
     204Synchronisable.i:
     205        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/Synchronisable.i
     206
     207# target to generate assembly for a file
     208Synchronisable.s:
     209        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/Synchronisable.s
     210
     211# target to build an object file
     212dummyclient.o:
     213        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/dummyclient.o
     214
     215# target to preprocess a source file
     216dummyclient.i:
     217        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/dummyclient.i
     218
     219# target to generate assembly for a file
     220dummyclient.s:
     221        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/dummyclient.s
     222
     223# target to build an object file
     224dummyclient2.o:
     225        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/dummyclient2.o
     226
     227# target to preprocess a source file
     228dummyclient2.i:
     229        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/dummyclient2.i
     230
     231# target to generate assembly for a file
     232dummyclient2.s:
     233        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/dummyclient2.s
     234
     235# target to build an object file
     236dummyserver.o:
     237        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/dummyserver.o
     238
     239# target to preprocess a source file
     240dummyserver.i:
     241        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/dummyserver.i
     242
     243# target to generate assembly for a file
     244dummyserver.s:
     245        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(MAKE) -f src/network/CMakeFiles/network.dir/build.make src/network/CMakeFiles/network.dir/dummyserver.s
     246
     247# Help Target
     248help::
     249        @echo "The following are some of the valid targets for this Makefile:"
     250        @echo "... all (the default if no target is provided)"
     251        @echo "... clean"
     252        @echo "... depend"
     253        @echo "... edit_cache"
     254        @echo "... network"
     255        @echo "... rebuild_cache"
     256        @echo "... Client.o"
     257        @echo "... Client.i"
     258        @echo "... Client.s"
     259        @echo "... ClientConnection.o"
     260        @echo "... ClientConnection.i"
     261        @echo "... ClientConnection.s"
     262        @echo "... ConnectionManager.o"
     263        @echo "... ConnectionManager.i"
     264        @echo "... ConnectionManager.s"
     265        @echo "... GameStateManager.o"
     266        @echo "... GameStateManager.i"
     267        @echo "... GameStateManager.s"
     268        @echo "... PacketBuffer.o"
     269        @echo "... PacketBuffer.i"
     270        @echo "... PacketBuffer.s"
     271        @echo "... PacketDecoder.o"
     272        @echo "... PacketDecoder.i"
     273        @echo "... PacketDecoder.s"
     274        @echo "... PacketGenerator.o"
     275        @echo "... PacketGenerator.i"
     276        @echo "... PacketGenerator.s"
     277        @echo "... Server.o"
     278        @echo "... Server.i"
     279        @echo "... Server.s"
     280        @echo "... Synchronisable.o"
     281        @echo "... Synchronisable.i"
     282        @echo "... Synchronisable.s"
     283        @echo "... dummyclient.o"
     284        @echo "... dummyclient.i"
     285        @echo "... dummyclient.s"
     286        @echo "... dummyclient2.o"
     287        @echo "... dummyclient2.i"
     288        @echo "... dummyclient2.s"
     289        @echo "... dummyserver.o"
     290        @echo "... dummyserver.i"
     291        @echo "... dummyserver.s"
     292
     293
     294
     295#=============================================================================
     296# Special targets to cleanup operation of make.
     297
     298# Special rule to run CMake to check the build system integrity.
     299# No rule that depends on this can have commands that come from listfiles
     300# because they might be regenerated.
     301cmake_check_build_system:
     302        cd /home/nicolasc/development/orxonoxV2/branches/merger && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
     303
Note: See TracChangeset for help on using the changeset viewer.