Makefile.common
author viric@llimona
Thu, 06 Apr 2006 01:47:35 +0200
changeset 18 84fa30ea0b0d
parent 16 de00e98450eb
child 21 24714adbc325
permissions -rw-r--r--
Ara sí - versió 1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16
de00e98450eb Versió 1 quasi per entregar. Falta molt RFC per implementar.
viric@llimona
parents: 15
diff changeset
     1
CODE_OPTIONS=-D_POSIX_C_SOURCE=200112L -D_ISOC99_SOURCE
de00e98450eb Versió 1 quasi per entregar. Falta molt RFC per implementar.
viric@llimona
parents: 15
diff changeset
     2
CFLAGS=$(MY_CFLAGS) $(CODE_OPTIONS)
0
4a369e7c2ce8 Initial.
viric@llimona
parents:
diff changeset
     3
16
de00e98450eb Versió 1 quasi per entregar. Falta molt RFC per implementar.
viric@llimona
parents: 15
diff changeset
     4
LDFLAGS=
1
cd184f6ef0d8 The named pipe opening and reading works.
viric@llimona
parents: 0
diff changeset
     5
15
fea6e87812f0 Now everything works - the rfc3164 message parser must be improved.
viric@llimona
parents: 12
diff changeset
     6
all: syslog_in_npipe syslog_in_udp syslog_in_unix unix_writer syslog_kernel
2
c0db07a9d316 Changing name.
viric@llimona
parents: 1
diff changeset
     7
c0db07a9d316 Changing name.
viric@llimona
parents: 1
diff changeset
     8
%.a: 
15
fea6e87812f0 Now everything works - the rfc3164 message parser must be improved.
viric@llimona
parents: 12
diff changeset
     9
	ar src $@ $<
2
c0db07a9d316 Changing name.
viric@llimona
parents: 1
diff changeset
    10
1
cd184f6ef0d8 The named pipe opening and reading works.
viric@llimona
parents: 0
diff changeset
    11
rfc3164.o: rfc3164.h
2
c0db07a9d316 Changing name.
viric@llimona
parents: 1
diff changeset
    12
rfc3164.a: rfc3164.o
3
9bcdce466e88 Crec que hauria de funcionar almenys el listen... però no va.
viric@llimona
parents: 2
diff changeset
    13
2
c0db07a9d316 Changing name.
viric@llimona
parents: 1
diff changeset
    14
syslog_in_npipe.o: rfc3164.h syslog_in_npipe.c
3
9bcdce466e88 Crec que hauria de funcionar almenys el listen... però no va.
viric@llimona
parents: 2
diff changeset
    15
syslog_in_udp.o: syslog_in_udp.c rfc3164.h
9
3fd9ecdc4299 First implementation of unix sockets
viric@mandarina
parents: 3
diff changeset
    16
syslog_in_unix.o: syslog_in_unix.c rfc3164.h
15
fea6e87812f0 Now everything works - the rfc3164 message parser must be improved.
viric@llimona
parents: 12
diff changeset
    17
syslog_kernel.o: syslog_kernel.c rfc3164.h
3
9bcdce466e88 Crec que hauria de funcionar almenys el listen... però no va.
viric@llimona
parents: 2
diff changeset
    18
2
c0db07a9d316 Changing name.
viric@llimona
parents: 1
diff changeset
    19
syslog_in_npipe: syslog_in_npipe.o rfc3164.a
3
9bcdce466e88 Crec que hauria de funcionar almenys el listen... però no va.
viric@llimona
parents: 2
diff changeset
    20
syslog_in_udp: syslog_in_udp.o rfc3164.a
9
3fd9ecdc4299 First implementation of unix sockets
viric@mandarina
parents: 3
diff changeset
    21
syslog_in_unix: syslog_in_unix.o rfc3164.a
12
46ce13615fd8 Added a unix writer for testing the unix-socket syslog.
viric@mandarina
parents: 9
diff changeset
    22
unix_writer: unix_writer.o
15
fea6e87812f0 Now everything works - the rfc3164 message parser must be improved.
viric@llimona
parents: 12
diff changeset
    23
syslog_kernel: syslog_kernel.o rfc3164.a
1
cd184f6ef0d8 The named pipe opening and reading works.
viric@llimona
parents: 0
diff changeset
    24
cd184f6ef0d8 The named pipe opening and reading works.
viric@llimona
parents: 0
diff changeset
    25
clean:
2
c0db07a9d316 Changing name.
viric@llimona
parents: 1
diff changeset
    26
	rm -f *.o *.a
15
fea6e87812f0 Now everything works - the rfc3164 message parser must be improved.
viric@llimona
parents: 12
diff changeset
    27
	rm -f syslog_in_npipe syslog_in_udp syslog_in_unix unix_writer \
fea6e87812f0 Now everything works - the rfc3164 message parser must be improved.
viric@llimona
parents: 12
diff changeset
    28
		syslog_kernel